filechooserbutton: Be smarter about 'None'
authorMatthias Clasen <mclasen@redhat.com>
Thu, 26 Dec 2019 14:29:36 +0000 (09:29 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 29 Dec 2019 22:10:16 +0000 (17:10 -0500)
commit6255dcd8ec91176b491d103883e233dd38243bda
tree2282e578925d6c67636dfbdc14f1f5f00e4459af
parent6f80eee962dc6c8fdf7d0bee5ea74c9e09bea1dc
filechooserbutton: Be smarter about 'None'

Don't refilter the model while the combo box is popped up,
that wreaks havoc with layout and does not really work.
Instead, repurpose one of the separator rows for the 'none'
case. This works because the row separator function is not
consulted for the cellview in the button.
gtk/gtkfilechooserbutton.c